From: kfraser@localhost.localdomain Date: Fri, 20 Oct 2006 10:00:08 +0000 (+0100) Subject: [XEND] Remove lazy import of signal module. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15589^2~8 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=28100f12bc1ccad55ef19521f2dd325fe012bcbe;p=xen.git [XEND] Remove lazy import of signal module. Signed-off-by: Jeremy Katz --- diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 12677de28d..88a8a169bc 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -20,6 +20,7 @@ import os, string import re import math +import signal import xen.lowlevel.xc from xen.xend import sxp @@ -421,7 +422,6 @@ class HVMImageHandler(ImageHandler): def destroy(self): self.unregister_shutdown_watch(); - import signal if not self.pid: return os.kill(self.pid, signal.SIGKILL)